package lesson01;

/**
 * 通过继承创建线程
 *
 * @author wileda
 * @date 2023/01/03  16:05
 */
public class Demo01 {
    public static void main(String[] args) {
        MyThread01 myThread01 = new MyThread01();
        myThread01.start();
    }
}

class MyThread01 extends Thread{
    @Override
    public void run() {
        System.out.println("hello thread...");
    }
}
